package com.jic.weamop.weBankAMOP.server;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Created by messigao on 2018/09/28.
 */
@SpringBootApplication
@EnableScheduling
@ComponentScan(basePackages = "com.jic.weamop", lazyInit = true)

// 是否允许 集成到swagger里
@EnableSwagger2
@EnableSwaggerBootstrapUI
@EnableDiscoveryClient
public class NodeFrontStartServer {

    public static void main(String[] args) {
        SpringApplication.run(NodeFrontStartServer.class, args);
    }


}